<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset={CHARSET}"/>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" >
<title>$navtitle</title>
<meta name="description" content="$metakeywords" /> 
<meta name="keywords" content="$metadescription" />
<link rel="stylesheet" href="source/plugin/aljbd/css/sj/base.css" />
<link rel="stylesheet" href="source/plugin/aljbd/css/sj/module.css" />
<script src="source/plugin/aljbd/js/jquery.js"></script>
<script type="text/javascript">
    var jq = jQuery.noConflict();
</script>
<script src="source/plugin/aljbd/js/sj/common.js"></script>
<script src="source/plugin/aljbd/js/sj/jquery.plugin.js"></script>
<link rel="stylesheet" href="source/plugin/aljbd/css/sj/plugin.css" />
{template aljbd:common}
</head>
<body id="body">
<a name="top"></a>
{template aljbd:header}
<style type="text/css">
	body{background: #ffffff;}
	.panel-mycolor > .panel-comm, .panel-mycolor > .panel-heading, .panel-mycolor > .panel-footer{border-color: #eee;
    background: #ffffff;}
</style>
<div class="container module-coupon" id="mobile_body"><div class="panel-comm panel-mycolor panel-fullsize">
	<div class="panel-heading" >
		<h3>{$c['subject']}
		
	</h3>
		
	</div>
	<div class="bg-color">
		<div class="list-group list-group-insertmod">
			<div class="list-group-item">
				<div class="txt-richtxt center" style="position: relative;">
					<img src="{$c['pic']}" alt="{$c['subject']}">
					{if file_exists('source/plugin/aljgz/aljgz.inc.php')}
						{template aljgz:aljbd_consumeview}
					{/if}
				</div>
			</div>
			<div class="list-group-item">
				{lang aljbd:consumeview_4}{$c['xianzhi']}<br>
				{lang aljbd:consume_6}{if $c['end']}<!--{eval echo date('Y-m-d',$c['start']);}-->&nbsp;{lang aljbd:consume_7}&nbsp;<!--{eval echo date('Y-m-d',$c['end']);}-->{else}{lang aljbd:consume_8}{/if}<br>
				{lang aljbd:consumeview_5}$c['username']<br>
				{lang aljbd:consumeview_7}<!--{eval echo date('Y-m-d',$c['dateline']);}--><br>
				{lang aljbd:consumeview_8}$bd[tel]<br>
				{lang aljbd:consumeview_9}$bd[addr]<br>
			</div>
			<style type="text/css">
				#lj{text-align:center}
			</style>
			
			<a href="{if $config['isrewrite']}brand_shop_{$bd['id']}.html{else}plugin.php?id=aljbd&act=view&bid={$bd['id']}{/if}" class="list-group-item" id="lj">
				<div class="fr"><span class="arrow"></span></div>
				<p class="txt-comm">
					{lang aljbd:sj_consumeview_1}$bd[name]</p>
			</a>	
			<a class="list-group-item" href="javascript:;" id="lj">
					
					<span class="label-comm label-mycolor label-big" style="font-size:16px;">{lang aljbd:sj_consumeview_2}</span>
				</a>
		</div>
	</div>
	<style type="text/css">
	.panel-body img{
		max-width:95%;
	}
</style>
	<div class="panel-body">
		<div class="txt-comm txt-richtxt">{$c['jieshao']}</div>
	</div>
</div>
</div>
<script type='text/javascript'>
function tips(txt, fun) {
	jq('.tips').remove();
	var div = jq('<div style="background: url(source/plugin/aljbd/images/tips.png);max-width: 85%;min-height: 77px;min-width: 270px;position: absolute;left: -1000px;top: -1000px;text-align: center;border-radius:10px;"><span style="color: #ffffff;line-height: 77px;font-size: 23px;">' + txt + '</span></div>');
	jq('body').append(div);
	div.css('zIndex', 9999999);
	div.css('left', parseInt((jq(window).width() - div.width()) / 2));
	var top = parseInt(jq(window).scrollTop() + (jq(window).height() - div.height()) / 2);
	div.css('top', top);
	setTimeout(function() {
		div.remove();
		if (fun) {
			fun();
		}
	}, 2000);
}
</script>
{template aljbd:footer}
</body>
</html>